<!--总分类start-->
<div class="w_190 f_l" >

	<div class="allsort" id="allsort">

		<h2 class="fs_14"><a class="c_green2" href="product_sort.html">所有宝贝分类</a></h2>

		<?php echo $left_cat ?>

	</div>

</div>

<!--总分类end-->

<!--轮播 首页A1 start-->

<div class="index_center w_500 f_l">

	<div class="index_slide">

		<div id="slideBox" class="slideimg">

			<ul id="slideContent">

			<?php $adzone = Adzone::model()->getData(17);

			foreach( (array)$adzone['ads'] as $key=>$value){?>
			<li>
				<?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zds_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width']),$value['zds_url'],array('target'=>'_blank')))?>
			</li>
			<?php }?>
			</ul>

		</div>

		<ul id="slideTab" class="slidetab">

			<li>1</li>

			<li>2</li>

			<li>3</li>

			<li>4</li>

			<li>5</li>

		</ul>

	</div>

	<script type="text/javascript">

	new Marquee(

	{

	MSClassID : "slideBox",

	ContentID : "slideContent",

	TabID : "slideTab",

	Direction : 2,

	Step : 0.3,

	Width : 500,

	Height : 280,

	Timer : 20,

	DelayTime : 2000,

	WaitTime : 0,

	ScrollStep: 1,

	SwitchType: 2,

	AutoStart : 1

	})

	</script>
	<!--首页A2广告 start-->
	<div class="index_b mt10">
		<?php $adzone = Adzone::model()->getData(18,$cid=0);
			foreach( (array)$adzone['ads'] as $key=>$value){ if($key == 2) $class="last";?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zdz_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank','class'=>$class))?><?php }?>
	</div>

</div>

<!--轮播end-->

<!--登陆条/动态start-->

<div class="index_r w_250 f_r">

	<div class="loginbar c_f"><a class="login" href="/home/user/login/" title="">请登录</a><a class="register" href="/home/user/registerone" title="">免费注册</a></div>

	<div class="index_news mt10" id="index_news">

		<div class="tab_hd">

			<ul class="c_f fw_b">

				<li><a href="javascript:" title="家猫动态">家猫动态</a></li>

				<li><a href="javascript:" title="硅胶知识">硅胶知识</a></li>

				<li><a href="javascript:" title="行业动态">行业动态</a></li>

			</ul>

		</div>

		<div class="tab_cont">

			<ul>
				<?php
                    $sql = new CDbCriteria(array(
                                'condition' => 'zne_status = 2 AND znc_id = 5',
                                'limit' => '6'
                            ));
                    $newlist = News::model()->findAll($sql);
                    if ($newlist) {
                        foreach ($newlist as $k=>$i) {
                        	$k = $k+1;
                            ?>
                            <li><?php echo CHtml::link('<b class="ico ico_li">'.$k.'</b>'.$i->zne_short, array('/news/detail', 'id' => $i->zne_id), array('title' => $i->zne_title,'class' => 'c_999'))?></li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到相关资讯!</p>
                <?php } ?>
			</ul>
		</div>

		<div class="tab_cont d-n">
			<ul>
			<?php
                    $sql = new CDbCriteria(array(
                                'condition' => 'zne_status = 2 AND znc_id = 4',
                                'limit' => '6'
                            ));
                    $newlist2 = News::model()->findAll($sql);
                    if ($newlist2) {
                        foreach ($newlist2 as $k=>$i) {
                            $k = $k+1;?>
                            <li><?php echo CHtml::link('<b class="ico ico_li">'.$k.'</b>'.$i->zne_short, array('/news/detail', 'id' => $i->zne_id), array('title' => $i->zne_title,'class' => 'c_999'))?></li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到相关资讯!</p>
            <?php } ?>
            </ul>

		</div>

		<div class="tab_cont d-n">

			<ul>

				<?php
                    $sql = new CDbCriteria(array(
                                'condition' => 'zne_status = 2 AND znc_id in(29,30,31,32,33,34)',
                                'limit' => '6'
                            ));
                    $newlist3 = News::model()->findAll($sql);
                    if ($newlist3) {
                        foreach ($newlist3 as $k=>$i) {
                        	$k = $k+1;
                            ?>
                            <li><?php echo CHtml::link('<b class="ico ico_li">'.$k.'</b>'.$i->zne_short, array('/news/detail', 'id' => $i->zne_id), array('title' => $i->zne_title,'class' => 'c_999'))?></li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到相关资讯!</p>
                <?php } ?>

			</ul>

		</div>

	</div>
	<!--首页广告 A3 start-->
	<div class="index_ad mt10"><?php $adzone = Adzone::model()->getData(19,$cid=0);
			foreach( (array)$adzone['ads'] as $key=>$value){?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zdz_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank'))?><?php }?></div>
	<!--首页广告 A3  end-->
</div>

<!--登陆条/动态end-->

</div>

<!--促销产品 start-->

<div class="w_960 o_a mt10">

<div class="index_prom bg_fff">

	<div class="hd"><a class="more_pro f_r" href="/home/discount/index" title="">更多促销产品</a><span class="title_hd c_green2">促销产品</span><span class="top_search">热搜：<?php echo Block::model()->Getpos('index_hot_key')?></span></div>

	<div class="bd c_f">
		<!--促销产品推荐位 6 start-->
		<div class="cont_l f_l">

			<ul class="c_f">
				<?php

                    $hotpro = Positions::model()->getPosData('6');
                    if ($hotpro) {
                        foreach ($hotpro as $i) {
                            ?>
                            <li>

								<div class="c_img c_img120"><?php echo CHtml::link(Tool::thumb($i->zpl_pic,120,120,$i->zpl_title), array('/home/product/detail', 'id' => $i->zpl_content_id), array('title' => $i->zpl_title))?></div>

								<p class="mask"></p>
								<?php $productinfo = Product::model()->GetInfoByid($i->zpl_content_id); ?>
								<p class="old_price"><del>原价：<?php echo $productinfo['zp_saleprice'] ?>元</del></p>

								<p class="new_price"><b class="ico ico_cx"></b>&yen;<?php echo $productinfo['zp_price'] ?></p>

							</li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到相关促销产品!</p>
                <?php } ?>

			</ul>

		</div>
		<!--促销产品推荐位 6 end-->
		<!--促销产品推荐位 8 start-->
		<div class="cont_c f_l">

			<ul class="c_f">
				<?php

                    $hotpro = Positions::model()->getPosData('8');
                    if ($hotpro) {
                        foreach ($hotpro as $i) {
                            ?>
                            <li>

								<div class="c_img"><?php echo CHtml::link(CHtml::image($i->zpl_pic,$i->zpl_title), array('/home/product/detail', 'id' => $i->zpl_content_id), array('title' => $i->zpl_title))?></div>

								<p class="mask"></p>

								<p class="title"><?php echo CHtml::link($i->zpl_title, array('/home/product/detail', 'id' => $i->zpl_content_id), array('title' => $i->zpl_title))?></p>

							</li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到相关促销产品!</p>
                <?php } ?>
			</ul>

		</div>
		<!--促销产品推荐位 8 end-->
		<!--促销产品推荐位 7 start-->
		<div class="cont_l cont_r f_r">

			<ul class="c_f">

				<?php

                    $hotpro = Positions::model()->getPosData('7');
                    if ($hotpro) {
                        foreach ($hotpro as $i) {
                            ?>
                            <li>

								<div class="c_img c_img120"><?php echo CHtml::link(Tool::thumb($i->zpl_pic,120,120,$i->zpl_title), array('/home/product/detail', 'id' => $i->zpl_content_id), array('title' => $i->zpl_title))?></div>

								<p class="mask"></p>
								<?php $productinfo = Product::model()->GetInfoByid($i->zpl_content_id); ?>
								<p class="old_price"><del>原价：<?php echo $productinfo['zp_saleprice'] ?>元</del></p>

								<p class="new_price"><b class="ico ico_cx"></b>&yen;<?php echo $productinfo['zp_price'] ?></p>

							</li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到相关促销产品!</p>
                <?php } ?>

			</ul>

		</div>
		<!--促销产品推荐位 7 end-->

	</div>

</div>

</div>

<!--促销产品 end-->

<!--限时抢购 start-->

<div class="w_960 o_a mt10">

<div class="index_snapup w_700 bg_fff f_l">

	<div class="hd"><a class="more_txt f_r" href="javascript:" title="">更多>></a><span class="title_hd c_green2">限时抢购</span></div>

	<div class="bd">
		<script type="text/javascript">
    	$(function(){
			$(".index_snapup .time").timeGo({callBackFunction:function(element,msg){
				msg.html("时间到").show();
			}});
		});
    </script>
		<ul class="c_f">
			<!--限时抢购推荐位 21 start-->
			<?php

                    $timepro = Positions::model()->getPosData('21');
                    if ($timepro) {
                    	$i = 0;
                        foreach ($timepro as $t) {
                            $i++
                            ?>
			<li class="item" id = "timepro<?php echo $i?>">
				<?php $promotion = ProTuan::model()->findByPk($t->zpl_content_id); ?>

				<div class="time c_666 miao-timeBack">
					<div class="remainSeconds" style="display:none"><?php echo $promotion->zpt_end_time-time()?></div>
					<div class ="remainTime">剩余：<strong class="fs_18 hour">00</strong>小时<strong class="fs_18 mini">00</strong>分<strong class="fs_18 sec">00</strong>秒
					</div>
				</div>

				<div class="c_img c_img140"><?php echo CHtml::link(Tool::thumb($t->zpl_pic,140,140,$t->zpl_title), array('/home/product/detail', 'id' => $promotion->zp_id,'active'=>'promotion'), array('title' => $t->zpl_title))?></div>

				<p class="title t_c"><?php echo CHtml::link($t->zpl_title,array('/home/product/detail','id'=>$promotion->zp_id,'active'=>'promotion'))?></p>

				<p class="price c_999 msg">抢购价：<strong class="fs_14 c_orange ff_yh">&yen;<?php echo $promotion->zpt_price ?></strong></p>

			</li>
			<?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到相关促销产品!</p>
          <?php } ?>
		</ul>

	</div>

</div>

<!--限时抢购 end-->

<!--精品团购 start-->

<div class="index_tuan w_250 bg_fff f_r">

	<div class="hd c_f">

		<a class="more_txt f_r" href="/home/tuan/" title="">更多>></a><span class="title_hd c_green2 f_l">精品团购</span>

	</div>

	<div class="bd">

		<ul class="tuan_tab f_l" id="tuanTab">

			<li class="ico"></li>

			<li class="ico"></li>

			<li class="ico"></li>

		</ul>

		<div id="tuanBox" class="tuan_cont">

			<ul id="tuanContent">
					<?php

                    $tuan = Positions::model()->getPosData('22');
                    if ($tuan) {
                    	$i = 0;
                        foreach ($tuan as $t) {
                            $i++
                    ?>
                    <?php $protuan = ProTuan::model()->findByPk($t->zpl_content_id); ?>
				<li>

					<div class="c_img"><?php echo CHtml::link(Tool::thumb($t->zpl_pic,240,160,$t->zpl_title), array('/home/tuan/detail', 'id'=>$t->zpl_content_id), array('title' => $t->zpl_title))?></div>

					<p class="title fw_b fs_14"><?php echo CHtml::link($t->zpl_title,array('/home/tuan/detail/','id'=>$t->zpl_content_id),array('class'=>'c_666'))?></p>

					<p class="price bg"><?php echo CHtml::link('去看看',array('/home/tuan/detail/','id'=>$t->zpl_content_id),array('class'=>'btn btn_see f_r'))?><span class="c_white fs_12">团购价：<strong class="fs_24 ff_yh">&yen;<?php echo $protuan->zpt_price?></strong></span></p>

				</li>
				<?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到相关团购产品!</p>
          <?php } ?>

			</ul>

		</div>

	 </div>

</div>

<script type="text/javascript">

	var QQMarqueeControl=new Marquee(["tuanBox","tuanContent","tuanTab","onclick"],2,0.5,250,280,20,5000,5000)

</script>

</div>

<!--精品团购 end-->

<div class="hr_15"></div>

<!--产品层 start-->

<div class="w_960 o_a" id="proSort">

<div class="pro_sort bg_fff">

	<div class="hd"><?php echo CHtml::link(Yii::t('web','More Pro'),array( '/home/product/list', 'id'=>'1') , array('class'=>'more_pro f_r','title'=>Yii::t('web','More Pro') ) )?><span class="title_hd c_green2"><b class="ico_sort sort1"></b>居家日用</span></div>

	<div class="bd c_f">
		<!--首页广告 A4 A5  start-->
		<div class="pro_ad f_l">
			<?php $adzone = Adzone::model()->getData(20,$cid=0);
			foreach( (array)$adzone['ads'] as $key=>$value){
				?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zdz_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank','class'=>'img_1'))?><?php }?>
			<?php $adzone = Adzone::model()->getData(21,$cid=0);
			foreach( (array)$adzone['ads'] as $key=>$value){
				?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zdz_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank','class'=>'img_2'))?><?php }?>
			</div>
		<!--首页广告 A4 A5  end-->
		<div class="pro_li f_l">

			<ul class="c_f">
				<?php
                    $sql = new CDbCriteria(array(
                                'condition' => 'zp_status = 2 AND zp_state = 2 AND zca_id in('.$categorys['1']['zca_arrchildid'].')',
                                'limit' => '4'
                            ));
                    $product = Product::model()->findAll($sql);
                    if ($product) {
                        foreach ($product as $i) {
                            ?>
                            <li class="item">

								<div class="c_img"><?php echo CHtml::link(Tool::thumb($i->zp_pic,158,158,$i->zp_name), array('/home/product/detail', 'id'=>$i->zp_id), array('title' => $i->zp_name))?></div>

								<p class="price"><strong class="f_r fs_14 ff_yh c_orange">&yen;<?php echo $i->zp_price ?></strong><del class="c_999">&yen;<?php echo $i->zp_price ?></del></p>

								<p class="title c_666 t_c"><?php echo $i->getTitle() ?></p>

							</li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到同类其他商品!</p>
                <?php } ?>

			</ul>

		</div>

	</div>
	<!--居家日用- 碎片start-->
	<div class="more_sort">

		<?php echo Block::model()->Getpos('index_cat1_hotcat')?>

	</div>
	<!--居家日用- 碎片end-->
</div>

<div class="hr_15"></div>

<div class="pro_sort bg_fff">

	<div class="hd"><?php echo CHtml::link(Yii::t('web','More Pro'),array( '/home/product/list', 'id'=>'5') , array('class'=>'more_pro f_r','title'=>Yii::t('web','More Pro') ) )?><span class="title_hd c_green2"><b class="ico_sort sort2"></b>母婴用品</span></div>

	<div class="bd c_f">
		<!--首页广告 A6  start-->
		<div class="pro_ad f_l"><?php $adzone = Adzone::model()->getData(22,$cid=0);
			foreach( (array)$adzone['ads'] as $key=>$value){
				?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zds_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank'))?><?php }?>
			</div>
			<!--首页广告 A6  end-->
		<div class="pro_li f_l">

			<?php
                    $sql = new CDbCriteria(array(
                                'condition' => 'zp_status = 2 AND zp_state = 2 AND zca_id in('.$categorys['5']['zca_arrchildid'].')',
                                'limit' => '4'
                            ));
                    $product2 = Product::model()->findAll($sql);
                    if ($product2) {
                        foreach ($product2 as $i) {
                            ?>
                            <li class="item">

								<div class="c_img"><?php echo CHtml::link(Tool::thumb($i->zp_pic,158,158,$i->zp_name), array('/home/product/detail', 'id'=>$i->zp_id), array('title' => $i->zp_name))?></div>

								<p class="price"><strong class="f_r fs_14 ff_yh c_orange">&yen;<?php echo $i->zp_price ?></strong><del class="c_999">&yen;<?php echo $i->zp_price ?></del></p>

								<p class="title c_666 t_c"><?php echo $i->getTitle() ?></p>

							</li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到同类其他商品!</p>
                <?php } ?>

			</ul>

		</div>

	</div>

	<div class="more_sort">

		<?php echo Block::model()->Getpos('index_cat2_hotcat')?>

	</div>

</div>

<div class="hr_10"></div>
<!--首页广告 A13  start-->
<div>
	<?php $adzone = Adzone::model()->getData(29,$cid=0);
	foreach( (array)$adzone['ads'] as $key=>$value){
		?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zds_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank'))?>
	<?php }?>
</div>
<!--首页广告 A13  end-->
<div class="hr_15"></div>

<div class="pro_sort bg_fff">

	<div class="hd"><a class="more_pro f_r" href="javascript:" title="">更多产品</a><span class="title_hd c_green2"><b class="ico_sort sort3"></b>运动户外</span></div>

	<div class="bd c_f">
		<!--首页广告 A7 A8  start-->
		<div class="pro_ad f_l">
			<?php $adzone = Adzone::model()->getData(23,$cid=0);
			foreach( (array)$adzone['ads'] as $key=>$value){
				?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zds_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank','class'=>'img_1'))?><?php }?>
			<?php $adzone = Adzone::model()->getData(24,$cid=0);
			foreach( (array)$adzone['ads'] as $key=>$value){
				?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zds_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank','class'=>'img_2'))?><?php }?>
		</div>
		<!--首页广告 A7 A8  end-->
		<div class="pro_li f_l">

			<ul class="c_f">

				<?php
                    $sql = new CDbCriteria(array(
                                'condition' => 'zp_status = 2 AND zp_state = 2 AND zca_id in('.$categorys['4']['zca_arrchildid'].')',
                                'limit' => '4'
                            ));
                    $product3 = Product::model()->findAll($sql);
                    if ($product3) {
                        foreach ($product3 as $i) {
                            ?>
                            <li class="item">

								<div class="c_img"><?php echo CHtml::link(Tool::thumb($i->zp_pic,158,158,$i->zp_name), array('/home/product/detail', 'id'=>$i->zp_id), array('title' => $i->zp_name))?></div>

								<p class="price"><strong class="f_r fs_14 ff_yh c_orange">&yen;<?php echo $i->zp_price ?></strong><del class="c_999">&yen;<?php echo $i->zp_price ?></del></p>

								<p class="title c_666 t_c"><?php echo $i->getTitle() ?></p>

							</li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到同类其他商品!</p>
                <?php } ?>

			</ul>

		</div>

	</div>

	<div class="more_sort">

		<?php echo Block::model()->Getpos('index_cat3_hotcat')?>

	</div>

</div>

<div class="hr_15"></div>

<div class="pro_sort bg_fff">

	<div class="hd"><a class="more_pro f_r" href="javascript:" title="">更多产品</a><span class="title_hd c_green2"><b class="ico_sort sort4"></b>文化娱乐</span></div>

	<div class="bd c_f">

		<!--首页广告 A9  start-->
		<div class="pro_ad f_l"><?php $adzone = Adzone::model()->getData(25,$cid=0);
			foreach( (array)$adzone['ads'] as $key=>$value){
				?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zds_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank'))?><?php }?>
			</div>
			<!--首页广告 A9  end-->

		<div class="pro_li f_l">

			<ul class="c_f">

				<?php
                    $sql = new CDbCriteria(array(
                                'condition' => 'zp_status = 2 AND zp_state = 2 AND zca_id in('.$categorys['3']['zca_arrchildid'].')',
                                'limit' => '4'
                            ));
                    $product4 = Product::model()->findAll($sql);
                    if ($product4) {
                        foreach ($product4 as $i) {
                            ?>
                            <li class="item">

								<div class="c_img"><?php echo CHtml::link(Tool::thumb($i->zp_pic,158,158,$i->zp_name), array('/home/product/detail', 'id'=>$i->zp_id), array('title' => $i->zp_name))?></div>

								<p class="price"><strong class="f_r fs_14 ff_yh c_orange">&yen;<?php echo $i->zp_price ?></strong><del class="c_999">&yen;<?php echo $i->zp_price ?></del></p>

								<p class="title c_666 t_c"><?php echo $i->getTitle() ?></p>

							</li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到同类其他商品!</p>
                <?php } ?>

			</ul>

		</div>

	</div>

	<div class="more_sort">

		<?php echo Block::model()->Getpos('index_cat4_hotcat')?>

	</div>

</div>

<div class="hr_10"></div>

<!--首页广告 A14  start-->
<div>
	<?php $adzone = Adzone::model()->getData(30,$cid=0);
	foreach( (array)$adzone['ads'] as $key=>$value){
		?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zds_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank'))?>
	<?php }?>
</div>
<!--首页广告 A14  end-->

<div class="hr_15"></div>

<div class="pro_sort bg_fff">

	<div class="hd"><a class="more_pro f_r" href="javascript:" title="">更多产品</a><span class="title_hd c_green2"><b class="ico_sort sort5"></b>汽车用品</span></div>

	<div class="bd c_f">

		<!--首页广告 A10 A11  start-->
		<div class="pro_ad f_l">
			<?php $adzone = Adzone::model()->getData(26,$cid=0);
			foreach( (array)$adzone['ads'] as $key=>$value){
				?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zds_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank','class'=>'img_1'))?><?php }?>
			<?php $adzone = Adzone::model()->getData(27,$cid=0);
			foreach( (array)$adzone['ads'] as $key=>$value){
				?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zds_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank','class'=>'img_2'))?><?php }?>
		</div>
		<!--首页广告 A10 A11  end-->

		<div class="pro_li f_l">

			<ul class="c_f">

				<?php
                    $sql = new CDbCriteria(array(
                                'condition' => 'zp_status = 2 AND zp_state = 2 AND zca_id in('.$categorys['133']['zca_arrchildid'].')',
                                'limit' => '4'
                            ));
                    $product5 = Product::model()->findAll($sql);
                    if ($product5) {
                        foreach ($product5 as $i) {
                            ?>
                            <li class="item">

								<div class="c_img"><?php echo CHtml::link(Tool::thumb($i->zp_pic,158,158,$i->zp_name), array('/home/product/detail', 'id'=>$i->zp_id), array('title' => $i->zp_name))?></div>

								<p class="price"><strong class="f_r fs_14 ff_yh c_orange">&yen;<?php echo $i->zp_price ?></strong><del class="c_999">&yen;<?php echo $i->zp_price ?></del></p>

								<p class="title c_666 t_c"><?php echo $i->getTitle() ?></p>

							</li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到同类其他商品!</p>
                <?php } ?>

			</ul>

		</div>

	</div>

	<div class="more_sort">

		<?php echo Block::model()->Getpos('index_cat5_hotcat')?>

	</div>

</div>

<div class="hr_15"></div>

<div class="pro_sort bg_fff">

	<div class="hd"><a class="more_pro f_r" href="javascript:" title="">更多产品</a><span class="title_hd c_green2"><b class="ico_sort sort6"></b>数码配饰</span></div>

	<div class="bd c_f">

		<!--首页广告 A12  start-->
		<div class="pro_ad f_l"><?php $adzone = Adzone::model()->getData(28,$cid=0);
			foreach( (array)$adzone['ads'] as $key=>$value){
				?><?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zds_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank'))?><?php }?>
		</div>
		<!--首页广告 A12  end-->

		<div class="pro_li f_l">

			<ul class="c_f">

				<?php
                    $sql = new CDbCriteria(array(
                                'condition' => 'zp_status = 2 AND zp_state = 2 AND zca_id in('.$categorys['2']['zca_arrchildid'].')',
                                'limit' => '4'
                            ));
                    $product6 = Product::model()->findAll($sql);
                    if ($product6) {
                        foreach ($product6 as $i) {
                            ?>
                            <li class="item">

								<div class="c_img"><?php echo CHtml::link(Tool::thumb($i->zp_pic,158,158,$i->zp_name), array('/home/product/detail', 'id'=>$i->zp_id), array('title' => $i->zp_name))?></div>

								<p class="price"><strong class="f_r fs_14 ff_yh c_orange">&yen;<?php echo $i->zp_price ?></strong><del class="c_999">&yen;<?php echo $i->zp_price ?></del></p>

								<p class="title c_666 t_c"><?php echo $i->getTitle() ?></p>

							</li>
                            <?php
                        }

                    } else {
                        ?>
                        <p style="text-align:center">没有找到同类其他商品!</p>
                <?php } ?>

			</ul>

		</div>

	</div>

	<div class="more_sort">

		<?php echo Block::model()->Getpos('index_cat6_hotcat')?>

	</div>

</div>

<div class="hr_10"></div>

